import { createApp } from 'vue';
import "./assets/styles/reset.css";
import App from './App.vue';
//Ant Design Vue样式引入  https://www.antdv.com/components/overview-cn/
// import Antd from "ant-design-vue";
// import 'ant-design-vue/dist/antd.css';
//Element的样式引入  https://element-plus.gitee.io/zh-CN/guide/installation.html
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
// 全局配置国际化
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// echarts
import echarts from './component/echarts';


//路由的引入
import {router} from "./router/index";
createApp(App).config.globalProperties.$echarts = echarts
createApp(App).use(ElementPlus,{locale:zhCn}).use(router).mount('#app');
